import {get,post} from '../utils/request'
interface List {
    key?:string
    buildingid?:number
    name?:string
    houseno?:string
    mibile?:string
    begindate?:string
    enddate?:string
    state?:number
    type?:string
    admin?:string
    orderno?:string
    page:number
    psize:number
}
interface Add {
    type:string
    begindate:string
    enddate:string
    price:number
    buildingid:number
    houseids:number[]
}
export const getFeeList = (data:List)=>{
    return get('fee/list',data)
}
export const getFeeDel = (data:any)=>{
    return get('fee/delete',data)
}
export const getFeeDelAll = (data:any)=>{
    return post('fee/deleteall',data)
}
export const  getFeetypeList = (data:any)=>{
    return get('feetype/list',data)
}
export const getFeeAdd = (data:Add)=>{
    return post('fee/add',data)
}
